using System;



namespace Fine.Collections.Const
{

    internal sealed class ConstZeroOrderSet<T> : ConstSortSet<T>
        where T : IComparable<T>
    {

        internal static readonly ConstZeroOrderSet<T> Zero1 =
            new ConstZeroOrderSet<T>(1);

        internal static readonly ConstZeroOrderSet<T> Zero0 =
            new ConstZeroOrderSet<T>(0);



        internal ConstZeroOrderSet(int firstIndex) 
            : base(firstIndex, ConstZeroList<T>.zeroArray, 0, false, false, true)
        {}


        public override int IndexOf(T item)
        {
            return int.MinValue;
        }


        public override bool Contains(T item)
        {
            return false;
        }


        public override int CountOf(T item)
        {
            return 0;
        }


        public override string ToString()
        {
            return "[]";
        }
    }

}